<?php
require '../db_config.php';
require '../open_db.php';
include '../includes/units.inc';
include '../includes/header.php';
?>
<body>
<?php 
$id = 4;
$q = 3;
$unit = print_unit($id, $q);
echo "<p>" . $q . " " . $unit . "</p>\n";
$id = 4;
$q = 1;
$unit = print_unit($id, $q);
echo "<p>" . $q . " " . $unit . "</p>\n";
$id = 5;
$q = .5;
$unit = print_unit($id, $q);
echo "<p>" . $q . " " . $unit . "</p>\n";

?>
</body>
</html>